//
//  NewMenuItem.m
//  港务移动信息
//
//  Created by _ADY on 14-11-14.
//  Copyright (c) 2014年 _ADY. All rights reserved.
//

#import "NewMenuItem.h"

@implementation NewMenuItem


- (void)encodeWithCoder:(NSCoder *)encoder

{
    
    [encoder encodeObject:self.deptname forKey:@"deptname"];
    
    [encoder encodeObject:self.deptid forKey:@"deptid"];
    
    [encoder encodeObject:self.group_id forKey:@"group_id"];
    
    [encoder encodeObject:self.TableName forKey:@"TableName"];
    
    [encoder encodeObject:self.OText forKey:@"OText"];
    
    
}

- (id)initWithCoder:(NSCoder *)decoder

{
    if ((self = [super init])) {
        
        self.deptname = [decoder decodeObjectForKey:@"deptname"];
        
        self.deptid = [decoder decodeObjectForKey:@"deptid"];
        
        self.group_id = [decoder decodeObjectForKey:@"group_id"];
        
        self.TableName = [decoder decodeObjectForKey:@"TableName"];
        
        self.OText = [decoder decodeObjectForKey:@"OText"];
        

        
    }
    
    return self;
    
}

@end
